/**
 * chinagoods.com
 * Copyright (c) 2020-2024 All Rights Reserved.
 */
package com.ruoyi.system.biz;

import com.ruoyi.system.dto.UserSetRateDto;

/**
 * @author yangpeng
 * Created by on 2024-01-23 12:56
 */
public interface UserRateBizService {
    void setRate(Long parentId, UserSetRateDto userSetRateDto);

    /**
     * 开户成功后 增加通道
     *
     * @param parentId
     */
    void addRate(Long parentId, Long userId);

    /**
     * 处理历史数据
     */
    void clean();

}